//
//  Notifications.swift
//  DaRings
//
//  Created by 魔样科技 on 2022/10/28.
//

import Foundation

public extension Notification.Name{

    /// 电量变化监听
    static let kBatteryNotification = NSNotification.Name("kBatteryNotification")
    
    /// 久坐提醒通知
    static let kActivityReminderInfoNotification = NSNotification.Name("kActivityReminderInfoNotification")
    
    /// 设备是否佩戴的监听
    static let kReceiveWearStateNotification = NSNotification.Name("deceiveWearStateNotification")
    
    /// 设备连接状态
    static let kDeviceStateNotification = NSNotification.Name("deviceStateNotification")
    
    /// 蓝牙连接状态
    static let kBluetoothStateNotification = NSNotification.Name("bluetoothStateNotification")
    
    /// 接收实时的运动计步数据
    static let kReceiveStepsNotification = NSNotification.Name("receiveStepsNotification")
    
    /// 接收一天睡眠
    static let kReceiveSleepNotification = NSNotification.Name("kReceiveSleepNotification")
    
    /// 接收体温
    static let kReciiveTemperatureNotification = NSNotification.Name("kReciiveTemperatureNotification")
    
    /// 接收⼼率
    static let kReceiveHeartRateNotification = NSNotification.Name("receiveHeartRateNotification")
    
    /// 接收⼼率测量结果(单次测量⼼率)
    static let kReceiveSingleHeartRateNotification = NSNotification.Name("receiveSingleHeartRateNotification")
    
    /// 接收实时⼼率数据(⼀般只⽤于显示不⽤于存储，部分⼿环⽀持返回实时RRI数据)
    static let kReceiveRealTimeHeartRateNotification = NSNotification.Name("receiveRealTimeHeartRateNotification")
    
    
    /// 接收单次 HRV 及 压力
    static let kReceiveHRVAndStressNotification = NSNotification.Name("receiveHRVAndStressNotification")
    
    
    /// 接收HRV
    static let kReceiveHRVNotification = NSNotification.Name("receiveHRVNotification")
    
    /// 单次HRV
    static let kReceiveSingleHRVNotification = NSNotification.Name("receiveSingleHRVNotification")
    
    /// 接收压力
    static let kReceiveStressNotification = NSNotification.Name("receiveStressNotification")
    
    /// 单次压力
    static let kReceiveSingleStressNotification = NSNotification.Name("receiveSingleStressNotification")
    
    /// 接收⾎氧测量结果
    static let kReceiveSpO2Notification = NSNotification.Name("receiveSpO2Notification")
    
    /// 单次血氧
    static let kReceiveSingleSpO2Notification = NSNotification.Name("kReceiveSingleSpO2Notification")
    
    /// 正在检测
    static let kReceiveMeasuringNotification = NSNotification.Name("kReceiveMeasuringNotification")
    
    /// OTA 升级
    static let kReceiveUpgredeNotification = NSNotification.Name("ReceiveUpgredeNotification")
    
    //收到运动模式状态
    static let kReceiveSportStateInfoNotification = NSNotification.Name("receiveSportStateInfoNotification")
    
    //收到历史锻炼记录
    static let kReceiveSportListNotification = NSNotification.Name("receiveSportListNotification")
    
    //收到定位权限改变
    static let kReceiveLocationPermissionNotification = NSNotification.Name("receiveLocationPermissionNotification")
}




